package de.codi.xtest;

import java.io.FileWriter;
import java.io.IOException;

public class OutWriter {
	FileWriter fw = null;
	
	public OutWriter(String filepath) throws IOException {		
		fw = new FileWriter(filepath);
	}
	
	public void write(String message) {
		try {
			fw.write(message);
			fw.flush();
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}

}
